package deweb.cimaplanning.dto;

public class PODistributionListPerPlant {
	protected int purchaseOrderVersionId;
	protected int plantId;
	protected int versionId;
	
	public static final String FIELD_1 = "purchase_order_version_id";
	public static final String FIELD_2 = "plant_id";
	public static final String FIELD_3 = "version_id";
	
	/**
	 * @return the purchaseOrderVersionId
	 */
	public int getPurchaseOrderVersionId() {
		return purchaseOrderVersionId;
	}
	/**
	 * @param purchaseOrderVersionId the purchaseOrderVersionId to set
	 */
	public void setPurchaseOrderVersionId(int purchaseOrderVersionId) {
		this.purchaseOrderVersionId = purchaseOrderVersionId;
	}
	/**
	 * @return the plantId
	 */
	public int getPlantId() {
		return plantId;
	}
	/**
	 * @param plantId the plantId to set
	 */
	public void setPlantId(int plantId) {
		this.plantId = plantId;
	}
	/**
	 * @return the version
	 */
	public int getVersionId() {
		return versionId;
	}
	/**
	 * @param version the version to set
	 */
	public void setVersionId(int versionId) {
		this.versionId = versionId;
	}

	/**
	 * Method 'toString'
	 * 
	 * @return String
	 */
	public String toString()
	{
		StringBuffer ret = new StringBuffer();
		ret.append( "deweb.cimaplanning.dto.PODistributionListPerPlant: " );
		ret.append( "purchaseOrderVersionId=" + purchaseOrderVersionId );
		ret.append( ", plantId=" + plantId );
		ret.append( ", versionId=" + versionId );
		return ret.toString();
	}
}
